using NHibernate.Validator.Constraints;
using SharpArch.Core.DomainModel;

namespace good1.Core
{
    public class Country : Entity
    {
        public Country() { }
		
		[NotNull, NotEmpty]
        [Length(3)]
		public virtual string Iso3 { get; set; }

        [NotNull]
		public virtual int NumericalCode { get; set; }

        [NotNull, NotEmpty]
        [Length(100)]
		public virtual string CountryName { get; set; }
        public virtual string Name { get { return CountryName; } }

    }
}
